import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Login from '@/components/LoginRegister/login'
import Tegister from '@/components/LoginRegister/tegister'
import SearcEnd from '@/components/independentModule/searchRecommend'
import Discover from '@/components/discover'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/login',
      name: 'Login',
      component: Login
    },{
      path: '/tegister',
      name: 'Tegister',
      component: Tegister
    },{
      path: '/discover',
      name: 'Discover',
      component: Discover
    },{
      path: '/searcend',
      name: 'SearcEnd',
      component: SearcEnd
    }
  ]
})
